package com.api.hg.model;

import com.api.sw.duban.annotation.Field;
import com.api.sw.duban.annotation.Table;

import java.text.SimpleDateFormat;
import java.util.Date;

@Table(value="uf_gbzcdp",datasource = "local")
//Uf_cxjlbExceptionBaseService
public class uf_gbzcdp {
    @Field(dbFiledName="")
    private String bm="";//关报资产ID
    @Field(dbFiledName="")
    private int xfs=0;//	相符数
    @Field(dbFiledName="")
    private int bfs=0;//不符数
    @Field(dbFiledName="")
    private int gbzcs=0;//不符数
    /* 建模自带属性*/
    @Field(dbFiledName="")
    private String modedatacreater="1";//创建人
    @Field(dbFiledName="")
    private String modedatacreatedate="";//创建日期
    @Field(dbFiledName="")
    private String formmodeid="208";//模型ID 默认值 本地14 海关测试198 海关正式203
    @Field(dbFiledName="")
    private String modedatacreatertype="0";//创建类型
    @Field(dbFiledName="")
    private String modedatacreatetime="";//创建时间
    public uf_gbzcdp(){
        SimpleDateFormat sim=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.modedatacreatedate=sim.format(new Date()).split(" ")[0];
        this.modedatacreatetime=sim.format(new Date()).split(" ")[1];
    }

    public String getBm() {
        return bm;
    }

    public void setBm(String bm) {
        this.bm = bm;
    }

    public int getXfs() {
        return xfs;
    }

    public void setXfs(int xfs) {
        this.xfs = xfs;
    }

    public int getBfs() {
        return bfs;
    }

    public void setBfs(int bfs) {
        this.bfs = bfs;
    }

    public int getGbzcs() {
        return gbzcs;
    }

    public void setGbzcs(int gbzcs) {
        this.gbzcs = gbzcs;
    }

    public String getModedatacreater() {
        return modedatacreater;
    }

    public void setModedatacreater(String modedatacreater) {
        this.modedatacreater = modedatacreater;
    }

    public String getModedatacreatedate() {
        return modedatacreatedate;
    }

    public void setModedatacreatedate(String modedatacreatedate) {
        this.modedatacreatedate = modedatacreatedate;
    }

    public String getFormmodeid() {
        return formmodeid;
    }

    public void setFormmodeid(String formmodeid) {
        this.formmodeid = formmodeid;
    }

    public String getModedatacreatertype() {
        return modedatacreatertype;
    }

    public void setModedatacreatertype(String modedatacreatertype) {
        this.modedatacreatertype = modedatacreatertype;
    }

    public String getModedatacreatetime() {
        return modedatacreatetime;
    }

    public void setModedatacreatetime(String modedatacreatetime) {
        this.modedatacreatetime = modedatacreatetime;
    }

    @Override
    public String toString() {
        return "uf_gbzcdp{" +
                "bm='" + bm + '\'' +
                ", xfs=" + xfs +
                ", bfs=" + bfs +
                ", gbzcs=" + gbzcs +
                ", modedatacreater='" + modedatacreater + '\'' +
                ", modedatacreatedate='" + modedatacreatedate + '\'' +
                ", formmodeid='" + formmodeid + '\'' +
                ", modedatacreatertype='" + modedatacreatertype + '\'' +
                ", modedatacreatetime='" + modedatacreatetime + '\'' +
                '}';
    }
}
